package com.itheima.day08.myGenerictity.test1;

import java.util.Collection;

public class Test {
    public static void main(String[] args) {
        User<String> u = new User<>();
        u.setElement("大王叫我来巡山");
        System.out.println(u.getElement());


        User<Integer> u2 = new User<>();
        u2.setElement(20);
        System.out.println(u2);
    }
}
